<h1>Nội dung</h1>
<div id="EditAdsForm" class='backend_form'>
  <form id="editAds" action="<?php echo url_for('@advertisement_edit?advertisement_id='.$ads->advertisement_id) ?>" method="post" enctype="multipart/form-data">
    <table>
      <?php echo $ads_form['name']->renderRow();  ?>
      <?php echo $ads_form['link']->renderRow();  ?>
      <?php echo $ads_form['picture']->renderRow();  ?>
      <tr>
      	<th>
          <?php echo $ads_form['content']->renderLabel();  ?>
        </th>
      </tr>
      <tr>
      	<td colspan="2">
	      <?php echo $ads_form['content']->render(array('class' => 'editor'));  ?>
      	</td>
      </tr>
      <?php echo $ads_form['position']->renderRow();  ?>
      <?php echo $ads_form['display_position']->renderRow();  ?>
      <?php echo $ads_form['is_active']->renderRow();  ?>
      <?php echo $ads_form['_csrf_token'];  ?>
      <tr>
      <tr><td colspan="2" style="text-align:center">
      	<input type='reset' value='Reset' />
        <input  id="fs" type="submit" value="<?php echo "Save" ?>"/>
		<?php if (isset($status) && $status == false) :?>
			<div></span>Đường dẫn đã tồn tại</span></div>
		<?php endif ?>
      </td></tr>
    </table>
  </form>
</div>